﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace studentform
{
    class Studentform
    {
        public Studentform() { }

       
        private string name;
   
        public string MName
        {
            get { return name; }
            set { name = value; }
        }

        private int rollno;

        public int Mrollno
        {

            get { return rollno; }
            set { rollno = value; }
        }

        private int maths;
        
        public int Mmaths
        {
            get { return maths; }
            set { maths = value; }
        }

        private int sci;

       

        public int Msci
        {
            get { return sci; }
            set { sci = value; }
        }

        private int eng;

        public int Meng 
        {
            get { return eng ; }
            set { eng = value; }
        }
        private int pt;

        public int Mpt 
        {
            get { return pt; }
            set { pt = value; }
        }
        private int java;

        public int Mjava
        {
            get { return java; }
            set { java = value; }
        }

        public string add()
        {
            return (Meng + Mjava + Mmaths + Mpt + Msci).ToString();
        }

    }
}
        
      
     
  




   

    

        
    

